package com.chenyue.cm.moudules.system.service.impl;


import java.io.Serializable;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenyue.cm.base.dao.LcBaseMapper;
import com.chenyue.cm.base.service.BaseServiceImpl;
import com.chenyue.cm.moudules.system.service.SysRolesService;
import com.chenyue.cm.system.dao.SysRolesMapper;
import com.chenyue.cm.system.domain.SysRoles;

@Service(value = "roleService")
public class SysRolesServiceImpl extends BaseServiceImpl<SysRoles>  implements SysRolesService {

    private Logger logger = LoggerFactory.getLogger(getClass());

    @Resource
    private SysRolesMapper roleMapper;
    
    @Override
    @Resource(name = "sysRolesMapper")
	public void setBaseMapper(LcBaseMapper<SysRoles, Serializable> baseMapper) {
		this.baseMapper = baseMapper;
	}
    
    
    @Override
   	@Resource(name = "sysRolesMapper")
   	public void setBaseDao(BaseMapper<SysRoles> baseDao) {
   		this.baseDao = baseDao;
   	}
	

}
